
                        <div class="list_work list_work2">
                        <h4>Produk Terbaru</h4>
                        <ul id="mycarouselnew" class="jcarousel-skin-tango item">
                        <?php
                            $link = koneksi_db();
                                        $sql = "select link,idproduk,nama,namakategori,harga,stok,status from produk p join kategori k on p.idkategori=k.idkategori join media m on p.idmedia=m.idmedia where status='Baru' order by date asc";
                                        $hasil = mysql_query($sql,$link) or exit("Error query: <b>".$sql."</b>.");
										while ($data1 = mysql_fetch_assoc($hasil)){
										?>     
                            <li>
                        
                               <img width="200px" height="200px" style="width:200px; height:200px" src="admin/server/php/files/small_<?php echo $data1['link']; ?>" alt="" />
                            	<span><?php echo $data1['nama']; ?><br><small><?php echo $data1['harga']; ?></small></span>
                                <span class="new"><?php echo $data1['status']; ?><</span>
                                <ul>
                                	<li> <a href="product-detail.php?idproduk=<?php echo $data1['idproduk']; ?>" class="cart tip" title="Tambakan Keranjang"></a></li>
                                    <li> <a href="product-detail.php?idproduk=<?php echo $data1['idproduk']; ?>" class="wishlist tip"title="LihatDetail"></a></li>
                                    <li><a href="admin/server/php/files/<?php echo $data1['link']; ?>" rel="prettyPhoto[gallery1]" class="zoom tip" title="Zoom"></a></li>
                                    
                                </ul>
                            </li>
                            <?php
							}
							?>                       
                            </ul>
                    	</div><!--end:list_work-->
                    </section>